#已知照片的URL地址为：http://n.sinaimg.cn/news/crawl/117/w550h367/20220417/a3a9-08b2ca6dffe4210149dda424adf0734f.jpg，
#请将照片下载并保存在桌面上。

import requests
url = 'http://n.sinaimg.cn/news/crawl/117/w550h367/20220417/a3a9-08b2ca6dffe4210149dda424adf0734f.jpg'
res = requests.get(url)
with open('C:\\Users\\Administrator\\Desktop\\1.jpg', 'wb') as f:
    f.write(res.content)
    print("保存成功！")

